import * as request from '../../utils/request';
import config from '../../config/config';

export function getCompanyPage(params) {
  return request.get(`${config.organize_api.getCompanyPage}`, params);
}

export function addCompany(params) {
  return request.post(`${config.organize_api.addCompany}`, params);
}

export function updateCompany(params) {
  return request.post(`${config.organize_api.updateCompany}`, params);
}

export function deleteCompany(params) {
  return request.post(`${config.organize_api.deleteCompany}`, params);
}
